 

/**
 * Subclass to Trade
 * @author Stefan
 */
public class Rent extends Trade {
    //Attributes

    private int rentalPeriod;

    public Rent(String id, int rentalPeriod, String employeeID, String customerID)
    {
        super(id, employeeID, customerID);
        this.rentalPeriod = rentalPeriod;
    }

    //Getters and setters
    public int getRentalPeriod()
    {
        return rentalPeriod;
    }

    public void setRentalPeriod(int rentalPeriod)
    {
        this.rentalPeriod = rentalPeriod;
    }
}
